Skip to content

tsh crashes on Windows when attempting to add a WebAuthn MFA device #55290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bl-nero opened this issue May 30, 2025 · 1 comment
Open

tsh crashes on Windows when attempting to add a WebAuthn MFA device #55290

bl-nero opened this issue May 30, 2025 · 1 comment
Labels
test-plan-problem Issues which have been surfaced by running the manual release test plan

Comments

@bl-nero
Copy link
Contributor

bl-nero commented May 30, 2025

Expected behavior:

tsh mfa add should let me confirm my identity before adding a new device.

Current behavior:

tsh crashes when attempting to show the WebAuthn dialog. Reproducible 2 of 5 times on Windows; unable to reproduce on v17.4.10 on the same machine with the same configuration.

Bug details:

  • Teleport version: 18.0.0-alpha.1 (Windows 11 Home 23H2).
  • Recreation steps:
  1. Sign into a remote cluster.
  2. Use tsh mfa add.
  3. Use webauthn for the device type.
  4. Enter device name.
  5. Answer "yes" to the question about passwordless.

Right after I gave the last answer, tsh decided (correctly) to use webauthn identity confirmation method and then (sometimes) immediately crashed without giving me a chance to confirm my identity.

The user I was working with had multiple MFAs configured (OTP, at least one Ubikey, TouchID), though I don't know if it's relevant. I was also unable to reproduce the issue with --mfa-mode explicitly specified. That machine has an AMD TPM. Windows Hello doesn't support fingerprints or face recognition; it was configured using a PIN. There were no USB authentication keys attached to the computer.

@bl-nero bl-nero added the test-plan-problem Issues which have been surfaced by running the manual release test plan label May 30, 2025
@gzdunek
Copy link
Contributor

gzdunek commented May 30, 2025

I just had the same problem in Connect when trying to log in with WebAuthn (the error in tshd was identical).

There was a similar issue in the past #31333.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-plan-problem Issues which have been surfaced by running the manual release test plan
Projects
None yet
Development

No branches or pull requests

2 participants